#!/bin/sh

path=`whereis ssh |cut -f 2 -d ":" |awk '{print $1}'`
echo "$path"

export RSYNC_RSH=$path

echo "Please input dest"
read dest

user=$(whoami)
cd || wxit 1
rsync -aHPvz . "${user}@${dest}:."

